<!DOCTYPE html>
<html>
<head>
<?php include_once VIEWS.'inc/head.php'; ?>
</head>
<body>
	<?php include_once VIEWS.'inc/header.php'; ?>
	<div class="main read-info">
		<div class="box">
			<div class="w1040">
			
<?php if(isset($info['id'])):?>
				<div class="title">
					<h4><?php echo $info['title'];?></h4>
					<div class="time-box">
						<span class="time"><?php echo date('Y / m / d',$info['timeline']);?></span><span class="share">分享：<a class="jiathis_button_tsina iconfont">&#xe603;</a><a class="jiathis_button_weixin iconfont">&#xe604;</a></span>
					</div>
				</div>
				<div class="cont"><?php echo $info['content'];?></div>
				<div class="info-page f-cb">
<!-- 					<div class="left pull-left">
						<?php //if(isset($updown['next']['title'])):?>
							<a href="<?php //echo site_url('read/info/'.$updown['next']['id']); ?>"><span>上一篇：   </span><?php //echo $updown['next']['title'];?>
						<?php //else:?>
							<a href="javascript:;"><span>上一篇：   </span><?php //echo "没有上一篇...";?></a>
						<?php //endif;?>
						
						<?php //if(isset($updown['prev']['title'])):?>
							<a href="<?php //echo site_url('read/info/'.$updown['prev']['id']); ?>"><span>下一篇：   </span><?php //echo $updown['prev']['title'];?>
						<?php //else:?></a>
						<a href="javascript:;"><span>下一篇：   </span><?php //echo "没有下一篇...";?></a>
						<?php //endif;?>
 					</div> -->
					<a class="right pull-right" href="<?php echo site_url('news/index'); ?>">返回</a>
				</div>
				<div class="page-btm-box f-cb">
					<div class="pro-footer pull-right">
						<?php include_once VIEWS.'inc/footer.php'; ?>
					</div>
				</div>
<?php 
		else:
    header("Location:".site_url('read/index'));
    exit;
?>
<?php endif;?>
			</div>
		</div>
		
	</div>
</body>
</html>
<script type="text/javascript">
	$(function(){
		$('.js-nar-bar .link').eq(3).addClass('cur');
	})
</script>